git assume unchanged
# unchanged
git update-index --assume-unchanged package.json
# undo
git update-index --no-assume-unchanged package.json
# list
git ls-files -v|grep '^h'
# unchanged
git update-index --assume-unchanged package.json
# undo
git update-index --no-assume-unchanged package.json
# list
git ls-files -v|grep '^h'